﻿namespace UtilZ.Dotnet.Ex.Base
{
    /// <summary>
    ///  基元数据类型枚举
    /// </summary>
    public enum PrimitiveDataTypes : byte
    {
        /// <summary>
        /// 未知
        /// </summary>
        None = 0,



        /// <summary>
        /// bool类型
        /// </summary>
        Bool = 1,

        /// <summary>
        /// char类型
        /// </summary>
        Char = 2,

        /// <summary>
        /// byte类型
        /// </summary>
        Byte = 3,

        /// <summary>
        /// sbyte类型
        /// </summary>
        SByte = 4,

        /// <summary>
        /// Int16类型
        /// </summary>
        Int16 = 5,

        /// <summary>
        /// UInt16类型
        /// </summary>
        UInt16 = 6,

        /// <summary>
        /// Int32类型
        /// </summary>
        Int32 = 7,

        /// <summary>
        /// UInt32类型
        /// </summary>
        UInt32 = 8,

        /// <summary>
        /// Int64类型
        /// </summary>
        Int64 = 9,

        /// <summary>
        /// UInt64类型
        /// </summary>
        UInt64 = 10,


#if CORE7_P

        /// <summary>
        /// Int128类型
        /// </summary>
        Int128 = 11,

        /// <summary>
        /// UInt128类型
        /// </summary>
        UInt128 = 12,

#endif

        /// <summary>
        /// BigInteger类型
        /// </summary>
        BigInteger = 13,




        /// <summary>
        /// float类型
        /// </summary>
        Float = 21,

        /// <summary>
        /// double类型
        /// </summary>
        Double = 22,

        /// <summary>
        /// Half类型
        /// </summary>
        Half = 23,

        /// <summary>
        /// decimal类型
        /// </summary>
        Decimal = 24,





        /// <summary>
        /// 枚举类型
        /// </summary>
        Enum = 31,

        /// <summary>
        /// DateTime类型
        /// </summary>
        DateTime = 32,

        /// <summary>
        /// TimeSpan类型
        /// </summary>
        TimeSpan = 33,

        /// <summary>
        /// DateTimeOffset类型
        /// </summary>
        DateTimeOffset = 34,

        /// <summary>
        /// TimeOnly类型
        /// </summary>
        TimeOnly = 35,

        /// <summary>
        /// DateOnly类型
        /// </summary>
        DateOnly = 36,

        /// <summary>
        /// string类型
        /// </summary>
        String = 37,



        /// <summary>
        /// 类类型
        /// </summary>
        Class = 102,

        /// <summary>
        /// byte[]类型
        /// </summary>
        ByteAarray = 103,

        /// <summary>
        /// short[]类型
        /// </summary>
        Int16Aarray = 104,

        /// <summary>
        /// float[]类型
        /// </summary>
        FloatAarray = 105,

        /// <summary>
        /// int[]类型
        /// </summary>
        Int32Aarray = 106,

        /// <summary>
        /// double[]类型
        /// </summary>
        DoubleAarray = 107,

    }

}
